<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe Cache</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe Cache</h1><!-- doxytag: class="Cache" -->
<p>Classe de gestion des différents caches La gestion du cache est encore en développement.  
<a href="#_details">Plus de détails...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a2263f34fd275b36766e7f7c122ce7061">getListType</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne la liste des caches disponibles.  <a href="#a2263f34fd275b36766e7f7c122ce7061"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a1d7e4b1a71e148898d8bb7d6d3ecb503">typeExist</a> ($t)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vérifie si un type de cache existe.  <a href="#a1d7e4b1a71e148898d8bb7d6d3ecb503"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a684af092c6cde57924eea23cfb831a38">setType</a> ($type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Définit un type de cache comme le type de cache courrant.  <a href="#a684af092c6cde57924eea23cfb831a38"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a30fe0439c9742f28a7288447d6b39d5a">setDevelop</a> ($v)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Définit si le site est en cours de développement.  <a href="#a30fe0439c9742f28a7288447d6b39d5a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a10bc5d0e2d219150bc31375fe8190d95">get</a> ($k)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#ab344114c10fac987171e4346817532e0">set</a> ($k, $v)</td></tr>
<tr><td colspan="2"><h2>Fonctions membres privées statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a9f0be6ae273d3669e11c29910a0be338">init</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialise au moins un cache s'il n'y en a pas déjà un.  <a href="#a9f0be6ae273d3669e11c29910a0be338"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a842aa1197b093dfeda179ae1499cb14e">devel</a> ($k)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a36e72e3cb5103933727d955584b5a5cc">load</a> ($class)</td></tr>
<tr><td colspan="2"><h2>Attributs privés statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a9a4a6fba2208984cabb3afacadf33919">$type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a1bc01ce7e79ad8d03132837786c12674">$curent</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#abf0ca1a1c14b825ec425879eeabbd27e">$develop</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cache.html#a8834b0851b05d161c207a7d2e5dca9bd">$init</a> = false</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe de gestion des différents caches La gestion du cache est encore en développement. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaétan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a842aa1197b093dfeda179ae1499cb14e"></a><!-- doxytag: member="Cache::devel" ref="a842aa1197b093dfeda179ae1499cb14e" args="($k)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static devel </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a10bc5d0e2d219150bc31375fe8190d95"></a><!-- doxytag: member="Cache::get" ref="a10bc5d0e2d219150bc31375fe8190d95" args="($k)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static get </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2263f34fd275b36766e7f7c122ce7061"></a><!-- doxytag: member="Cache::getListType" ref="a2263f34fd275b36766e7f7c122ce7061" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getListType </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne la liste des caches disponibles. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Array la liste des caches </dd></dl>

</div>
</div>
<a class="anchor" id="a9f0be6ae273d3669e11c29910a0be338"></a><!-- doxytag: member="Cache::init" ref="a9f0be6ae273d3669e11c29910a0be338" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static init </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialise au moins un cache s'il n'y en a pas déjà un. </p>

</div>
</div>
<a class="anchor" id="a36e72e3cb5103933727d955584b5a5cc"></a><!-- doxytag: member="Cache::load" ref="a36e72e3cb5103933727d955584b5a5cc" args="($class)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static load </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>class</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab344114c10fac987171e4346817532e0"></a><!-- doxytag: member="Cache::set" ref="ab344114c10fac987171e4346817532e0" args="($k, $v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static set </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a30fe0439c9742f28a7288447d6b39d5a"></a><!-- doxytag: member="Cache::setDevelop" ref="a30fe0439c9742f28a7288447d6b39d5a" args="($v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static setDevelop </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>v</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définit si le site est en cours de développement. </p>
<p>Si oui, la méthode get retournera toujours null. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Boolean</em>&nbsp;</td><td>si en développement </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a684af092c6cde57924eea23cfb831a38"></a><!-- doxytag: member="Cache::setType" ref="a684af092c6cde57924eea23cfb831a38" args="($type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static setType </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définit un type de cache comme le type de cache courrant. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>le type de cache </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1d7e4b1a71e148898d8bb7d6d3ecb503"></a><!-- doxytag: member="Cache::typeExist" ref="a1d7e4b1a71e148898d8bb7d6d3ecb503" args="($t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static typeExist </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vérifie si un type de cache existe. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>le type de cache </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Boolean si le type de cache existe </dd></dl>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a1bc01ce7e79ad8d03132837786c12674"></a><!-- doxytag: member="Cache::$curent" ref="a1bc01ce7e79ad8d03132837786c12674" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$curent<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abf0ca1a1c14b825ec425879eeabbd27e"></a><!-- doxytag: member="Cache::$develop" ref="abf0ca1a1c14b825ec425879eeabbd27e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$develop = false<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8834b0851b05d161c207a7d2e5dca9bd"></a><!-- doxytag: member="Cache::$init" ref="a8834b0851b05d161c207a7d2e5dca9bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$init = false<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9a4a6fba2208984cabb3afacadf33919"></a><!-- doxytag: member="Cache::$type" ref="a9a4a6fba2208984cabb3afacadf33919" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$type<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Valeur initiale :</b><div class="fragment"><pre class="fragment"> array(
                        <span class="stringliteral">&#39;MySqlHead&#39;</span>     =&gt; null,
                        <span class="stringliteral">&#39;RamCache&#39;</span>      =&gt; null,
                        <span class="stringliteral">&#39;Session&#39;</span>       =&gt; null
                )
</pre></div>
</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/cache/<a class="el" href="_cache_8php.html">Cache.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
